package py.com.alfa.escriba.gui.dto.admin;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import py.com.alfa.escriba.gui.dto.gestion.MonedasDTO;
import py.com.alfa.escriba.gui.dto.gestion.VehiculosDTO;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ControlesVehiculosInfoDTO  extends ControlesVehiculosDTO{
	private ControlesDTO control;
	private VehiculosDTO vehiculo;
	private MonedasDTO moneda;
	
	public ControlesDTO getControl() {
		return control;
	}
	public void setControl(ControlesDTO control) {
		this.control = control;
	}
	public VehiculosDTO getVehiculo() {
		return vehiculo;
	}
	public void setVehiculo(VehiculosDTO vehiculo) {
		this.setIdvehiculo(vehiculo != null ? vehiculo.getId() : null);
		this.vehiculo = vehiculo;
	}
	public MonedasDTO getMoneda() {
		return moneda;
	}
	public void setMoneda(MonedasDTO moneda) {
		this.setIdmoneda(moneda != null ? moneda.getId() : null);
		this.moneda = moneda;
	}
	
	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}
	

}